import request from '../../../utils/request';

export function fetch( { page = 1} ) {
    return request(`/api/users?_page=${page}&_limit=3`);
}

export function del( id ) {
    return request(`/api/users/${id}`, {
        method: 'DELETE',
    });
}